import 'package:flutter/material.dart';

enum HudPosition {
  top,
  middle,
  bottom,
}

enum HudIndicatorType {
  fadingCircle,
  circle,
  threeBounce,
  chasingDots,
  wave,
  wanderingCubes,
  rotatingPlain,
  doubleBounce,
  fadingFour,
  fadingCube,
  pulse,
  cubeGrid,
  rotatingCircle,
  foldingCube,
  pumpingHeart,
  dualRing,
  hourGlass,
  pouringHourGlass,
  fadingGrid,
  ring,
  ripple,
  spinningCircle,
  squareCircle,
}

class HudConfig {
  bool? userInteractions;
  late EdgeInsets textPadding;
  late double indicatorSize;
  late Color indicatorColor;

  ///loadding indicator type, default is fadingCircle.
  late HudIndicatorType indicatorType;

  ///width of indicator, default is 4.
  late double lineWidth;

  late int timeOut;

  init() {
    userInteractions = false;
    textPadding = const EdgeInsets.only(bottom: 10);
    indicatorSize = 40;
    indicatorColor = Colors.white;
    indicatorType = HudIndicatorType.fadingCircle;
    lineWidth = 4;
    timeOut = 20;
  }
}
